namespace DesignPattern.Structural.Decorator
{
    public class DecoratorPattern
    {
        public static void Test()
        {
            var circle = new Circle();
            var rectangle = new Rectangle();
            var square = new Square();

            var redCircle = new RedSharpMaker(circle);
            redCircle.Draw();

            System.Console.WriteLine("no color rectangle");
            rectangle.Draw();

            var yellowSquare = new YellowSharpMaker(square);
            yellowSquare.Draw();
        }
    }
}